package com.mirei.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


/**
 * @author mirei
 */
@Data
@TableName("user")
public class User {

    @TableId
    private Integer id;
    private String username;
    private String password;
    private Boolean enabled;
    @TableField("accountNonExpired")
    private Boolean accountNonExpired;
    @TableField("credentialsNonExpired")
    private Boolean credentialsNonExpired;
    @TableField("accountNonLocked")
    private Boolean accountNonLocked;
}
